package com.yikome.product.entity;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.yikome.common.BaseEntity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor
@Entity
@Table(name = "p_product_attribute_value" , indexes = {@Index(columnList = "productId") , @Index(columnList = "productAttributeId")})
public class ProductAttributeValue extends BaseEntity {
	
	private static final long serialVersionUID = -8540657364432058433L;
	
    private Long productId;
    
    private Long productAttributeId;
    
    private Integer priority;
    
    private String value;

    @Transient
    private String image ; 
    
    
    //20200715
    private String sourceValue ; 

}